<?php if ($people): ?>

<?php foreach ($people->result() as $member): ?>
<a class="people_avatar" style="float: left; border: none;" href="/member/<?php echo user_url($member); ?>">
	<img class="profile_avatar" src="<?php echo url_for_avatar($member->avatar, $member->id, 'user', 'medium'); ?>" alt="<?php echo username($member); ?>" <?php echo size_to_attrs('medium'); ?> /></a>
<?php endforeach; ?>

<?php endif; ?>

<div class="clearfix"></div>